package com.tang.event.listener.impl;

import com.tang.event.listener.EventListener;
import com.tang.vo.LotteryResult;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 短信消息事件
 */
public class MessageEventListener implements EventListener {
    
    private final Logger log = LoggerFactory.getLogger(this.getClass());
    
    @Override
    public void doEvent(LotteryResult result) {
        log.info("给用户{}发送短信通知（短信）：{}", result.getuId(), result.getMsg());   
    }
    
}
